import request from '@/utils/request'
export default {

    /**
     *   通过手机号 发送验证码
     * @param {*} mobile 手机号
     */
    getCodeByMobile(mobile){
        return request({
            url:'/edumsm/msm/send/'+mobile,
            method:"get"
        });
    },

    /**
     *  注册会员信息
     * @param {*} member 会员对象
     */
    registerMember(member){
        return request({
            url:'/educenter/member/register',
            method:"post",
            data:member
        }); 
    }
}